let mixin = {
  methods: {
    eleConfirm(
      funcThen = () => {},
      content = '确定要进行此操作吗？',
      title = '操作确认',
      options = { type: 'warning' },
      funcCatch = () => {}
    ) {
      this.$confirm(content, title, options).then(funcThen).catch(funcCatch)
    },
  },
}

export default mixin
